home *** CD-ROM | disk | FTP | other *** search
/ Star Festival... a Return to Japan / Star Festival... a Return to Japan.iso / pc / STARFESTIVAL / 10r.dir / 00001.ls next >
Encoding:
Text File  |  1999-04-02  |  1.8 KB  |  73 lines

  1. on startMovie
  2.   global gCursorReady, gKnobState, gMagCursor, gsearchOn, qtChan, gKnobSprite, gSendMovie, gCurrentLocation
  3.   puppetSprite(44, 1)
  4.   gCursorReady = 1
  5.   gMagCursor = "magCursor"
  6.   gCurrentLocation = 10
  7.   puppetSound(0)
  8.   gSendMovie = "10r"
  9.   qtChan = 35
  10.   sprite(qtChan).volume = 256
  11.   initGlobals()
  12.   gKnobSprite = 17
  13.   setUpKnob()
  14.   if gsearchOn = 1 then
  15.     sprite(6).visible = 1
  16.   else
  17.     sprite(6).visible = 0
  18.   end if
  19.   set the mouseDownScript to EMPTY
  20.   set the mouseUpScript to EMPTY
  21. end
  22.  
  23. on idle
  24.   global gCursorReady
  25.   if gCursorReady = 1 then
  26.     cursor(200)
  27.     checkCursors()
  28.     set the locH of sprite 44 to the mouseH
  29.     set the locV of sprite 44 to the mouseV
  30.     updateStage()
  31.     if sprite(36).movieRate = 0 then
  32.       sprite(36).movieRate = 1
  33.     end if
  34.   end if
  35. end
  36.  
  37. on checkCursors
  38.   global gMagCursor
  39.   set the castNum of sprite 44 to the number of member "curs1"
  40.   if rollOver(5) then
  41.     set the castNum of sprite 44 to the number of member "hotCursor"
  42.   end if
  43.   if rollOver(22) then
  44.     set the castNum of sprite 44 to the number of member "hotCursor"
  45.   end if
  46.   repeat with i = 8 to 12
  47.     if rollOver(i) then
  48.       set the castNum of sprite 44 to the number of member "hotCursor"
  49.     end if
  50.   end repeat
  51.   repeat with i = 14 to 21
  52.     if rollOver(i) then
  53.       set the castNum of sprite 44 to the number of member "hotCursor"
  54.     end if
  55.   end repeat
  56.   repeat with i = 24 to 28
  57.     if rollOver(i) then
  58.       set the castNum of sprite 44 to the number of member "hotCursor"
  59.     end if
  60.   end repeat
  61.   if rollOver(39) then
  62.     set the castNum of sprite 44 to the number of member "hotCursor"
  63.   end if
  64.   if rollOver(37) then
  65.     set the castNum of sprite 44 to the number of member "nonCursor"
  66.   end if
  67.   repeat with i = 40 to 42
  68.     if rollOver(i) then
  69.       set the castNum of sprite 44 to the number of member "hotCursor"
  70.     end if
  71.   end repeat
  72. end
  73.